package com.xdtech.sys.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.sys.model.Params;
import com.xdtech.sys.vo.ParamsItem;

/**
 * 
 * @author max.zheng
 * @create 2015-05-31 22:43:28
 * @since 1.0
 * @see
 */
public interface ParamsService extends IBaseService<Params>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-05-31 22:43:28
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateParams(ParamsItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-05-31 22:43:28
	 * @modified by
	 * @param newId
	 * @return
	 */
	ParamsItem loadParamsItem(Long paramsId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-05-31 22:43:28
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteParamsInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-05-31 22:43:28
	 * @modified by
	 * @param paramsIds
	 */
	boolean deleteParamsInfo(List<Long> paramsIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-05-31 22:43:28
	 * @modified by
	 * @return
	 */
	List<ParamsItem> loadItems();
}
